package com.example.zn.service;

import com.example.zn.dto.Result;
import com.example.zn.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
* @author ZN
* @description 针对表【user】的数据库操作Service
* @createDate 2024-03-18 09:39:04
*/

public interface UserService extends IService<User> {

    /**
     * 管理员登录
     * @param user
     * @return
     */
    Result login(User user);

    /**
     * 管理员注册
     * @param user
     * @return
     */
    Result reg(User user);

}
